<template>
  <div class="info">
    <el-form label-width="100px">
      <el-form-item label="企业名称">
        <el-input v-model="form.name" disabled />
      </el-form-item>
      <el-form-item label="公司地址">
        <el-input v-model="form.companyAddress" disabled />
      </el-form-item>
      <el-form-item label="公司电话">
        <el-input v-model="form.companyPhone" disabled />
      </el-form-item>
      <el-form-item label="邮箱">
        <el-input v-model="form.mailbox" disabled />
      </el-form-item>
      <el-form-item label="备注">
        <el-input v-model="form.remarks" disabled />
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
import { company } from '@/api/setting.js'
export default {
  name: 'Info',
  data() {
    return {
      form: ''
    }
  },
  async created() {
    const res = await company(this.$store.state.user.userInfo.companyId)
    this.form = res.data
  }
}
</script>
<style></style>
